package com.tuanbiao.keyevent;

import com.abiao.lib_utils.TimeUtils;

import java.text.SimpleDateFormat;
import java.util.Locale;

/**
 * @author abiao
 * @date 2022/8/11 11:09
 * @description:
 */
public class KeyEventUtils {
    private static volatile KeyEventUtils INSTANCE;

    public static KeyEventUtils getInstance() {
        if (null == INSTANCE) {
            synchronized (KeyEventUtils.class) {
                if (null == INSTANCE) {
                    INSTANCE = new KeyEventUtils();
                }
            }
        }
        return INSTANCE;
    }

    private KeyEventUtils() {

    }

    public String getLoginF1f4Password() {
        return "jqdz7777";
    }

    public String getLoginF2f3Password() {
        return "20220725";
    }

    public String getLoginF2f3Password2() {
        return "jqdz" + TimeUtils.getNowString(new SimpleDateFormat("mm", Locale.getDefault()));
    }
}
